Added comments to nice little optimization thanks to problem description