improved generation of planes so that it is more fair for the user, unit
test will be uploaded shortly