Various code optimization

sitll not able to make ghost shoot further than 16 block