added boundaries to map and auto calculation for them and center if they aren't in index.js