Complete initialization tasks
Fix wrap coords calculation