WIP sqrt_sync_v2.js