added assert statement that shows the main problem
fails at detecting octants...