removed BTILE constant; platform graph is now built automatically

Added code so that the constant BTILE is not required.

This should work for any level geometry.