reworked snake movement. Now optimized