chekCollision + additional layers + some optimize