adding static plane by Julapy
adding remove shape functions for casting to free up memory