Improve initial checks for spatial dimensions

in 11 minutes and 2 seconds, using 0 compute credits, and was queued for 2 seconds