fix laser_duration casting in the block buffer