refactor map implementation, eliminating special struct for collision
array