Added proper enoughSpace function back