Realspace opt working correctly?