Fixed bug in spread out logic