How to maximize work productivity with optimized working hours