Placing blocks, fall damage fix, algorithm restructuring