added elasticity to blocks