refactoring drawShape function
change coordinates on test planes